package com.ghpt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("reliability")
public class Reliability {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private int method;
    private int num;

    public Reliability(Integer id, int method, int num) {
        this.id = id;
        this.method = method;
        this.num = num;
    }

    @Override
    public String toString() {
        return "reliability{" +
                "id=" + id +
                ", method=" + method +
                ", num=" + num +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getMethod() {
        return method;
    }

    public void setMethod(int method) {
        this.method = method;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}